package com.ksd.web.controller.networkBean;

import lombok.Data;

@Data
public class GetIpModeRequest {
    private String method;
    private ParamData parameters;

    public static GetIpModeRequest getGetIpMode() {
        GetIpModeRequest getIpMode = new GetIpModeRequest();
        getIpMode.setMethod("getIpMode");

        ParamData parameters = new ParamData();
        parameters.setType("eth");

        getIpMode.setParameters(parameters);
        return getIpMode;
    }

    public static GetIpModeRequest getMethodGet() {
        GetIpModeRequest getIpMode = new GetIpModeRequest();
        getIpMode.setMethod("get");

        ParamData parameters = new ParamData();
        parameters.setType("eth");

        getIpMode.setParameters(parameters);
        return getIpMode;
    }
}
